Skip to main content

RenderTarget Class

Description:

  A class for creating RenderTarget objects.

__call

Type: Metamethod.

Description:

  Creates a new RenderTarget object with the given width and height.

Signature:

metamethod __call: function(self: RenderTargetClass, width: integer, height: integer): RenderTarget

Parameters:

ParameterTypeDescription
widthintegerThe width of the render target.
heightintegerThe height of the render target.

Returns:

Return TypeDescription
RenderTargetThe created render target.